<?php

namespace app\backend\controller;

use app\backend\service\MemberService;

class Invite extends Backend
{
    public function index(MemberService $service)
    {
        if ($this->request->isAjax()) {
            return $this->success($service->fansList($this->request->param()));
        }
        return $this->fetch('', $service->dataLabel());
    }
}